package com.nmf.pc.vo;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

public class MemberRegisterReq {
	@NotBlank(message="会员昵称不能为空")
	private String memberName;
	@NotBlank(message="密码不能为空")
	private String password;
	@NotBlank(message="手机号不能为空")
	private String telNo;
	@NotBlank(message="验证码不能为空")
	private String verCode;
	@NotNull(message="性别不能为空")
	private Integer gender;
	
	private String invitationCode;//邀请码
	
	public String getInvitationCode() {
		return invitationCode;
	}
	public void setInvitationCode(String invitationCode) {
		this.invitationCode = invitationCode;
	}
	public String getMemberName() {
		return memberName;
	}
	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}
	public Integer getGender() {
		return gender;
	}
	public void setGender(Integer gender) {
		this.gender = gender;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTelNo() {
		return telNo;
	}
	public void setTelNo(String telNo) {
		this.telNo = telNo;
	}
	public String getVerCode() {
		return verCode;
	}
	public void setVerCode(String verCode) {
		this.verCode = verCode;
	}
}
